package com.java.rest.utils.annotation;


import com.java.rest.utils.rest.RestExceptionHandler;
import com.java.rest.utils.rest.RestResponseAdvice;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 是设置注解注入
 *
 * @author cf
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({RestResponseAdvice.class, RestExceptionHandler.class})
public @interface EnableRestResolver {
}
